package net.guerlab.smart.wx.service.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 微信用户标签映射关系
 *
 * @author guer
 */
@Data
@Table(name = "wx_user_tag_mapping")
@AllArgsConstructor
@NoArgsConstructor
public class UserTagMapping {

    /**
     * openId
     */
    @Id
    private String openId;

    /**
     * 标签ID
     */
    @Id
    private Long tagId;
}
